package controllers

import command.CommandExec
import dao._
import implicits.BlastTool
import implicits.Implicits._
import org.apache.commons.io.FileUtils
import play.api.cache.AsyncCacheApi
import play.api.libs.json.Json
import play.api.mvc._
import tool.Pojo.CommandData
import tool.{FormTool, Tool}
import utils.Utils

import java.io.File
import java.nio.file.Files
import javax.inject.Inject
import scala.concurrent.ExecutionContext.Implicits.global


/**
 * Created by yz on 16/9/2021
 */
class MapController @Inject()(cc: ControllerComponents, cache: AsyncCacheApi)(
  implicit val basicDao: BasicDao,
  implicit val modeDao: ModeDao
) extends AbstractController(cc) with BlastTool {

  def toMap = Action {implicit request=>
    Ok(views.html.map.map())
  }


}
